<fs-tabset>
  <fs-tab index="0" heading="{{'title.tab.approgram.general' | translate}}">
    <ng-form name="apProgramGeneralForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramGeneral.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="1" heading="{{'title.tab.approgram.account' | translate}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.prodSubtypeExtProperty.ufpAccount == 'Y'">
    <ng-form name="apProgramAccountForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramAccount.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="$index + 11" heading="{{item.label}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.interestCatShowFlag[item.value] == 'Y'"
   ng-repeat="item in vm.profIntCats track by $index ">
    <ng-form name="apProgramInterestForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramInterest.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="2" heading="{{'title.tab.approgram.pastdue' | translate}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.prodSubtypeExtProperty.ufpPastdue == 'Y'">
    <ng-form name="apProgramPastDueForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramPastDue.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="3" heading="{{'title.tab.approgram.fee' | translate}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.prodSubtypeExtProperty.ufpFee == 'Y'">
    <ng-form name="apProgramFeeForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramFee.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="4" heading="{{'title.tab.approgram.document' | translate}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.prodSubtypeExtProperty.ufpDoc == 'Y'">
    <ng-form name="apProgramDocumentForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramDocument.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="$index + 13" heading="{{item.label}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.facilityCatShowFlag[item.value] == 'Y'"
   ng-repeat="item in vm.profLimitFaciCats track by $index ">
    <ng-form name="apProgramFacilityForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramFacility.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="5" heading="{{'title.tab.approgram.setlinst' | translate}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.prodSubtypeExtProperty.ufpSetlinst == 'Y'">
    <ng-form name="apProgramSetlinstForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramSetlinst.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="6" heading="{{'title.tab.approgram.billing' | translate}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.prodSubtypeExtProperty.ufpBilling == 'Y'">
    <ng-form name="apProgramBillingForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramBilling.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="7" heading="{{'title.tab.approgram.chargeback' | translate}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.prodSubtypeExtProperty.ufpChargeback == 'Y'">
    <ng-form name="apProgramChargebackForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramChargeback.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="8" heading="{{'title.tab.approgram.payschd' | translate}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.prodSubtypeExtProperty.ufpPayschd == 'Y'">
    <ng-form name="apProgramPayschdForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramPayschd.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="9" heading="{{'title.tab.approgram.invfilter' | translate}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.prodSubtypeExtProperty.ufpInvfilter == 'Y'">
    <ng-form name="apProgramInvfilterForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramInvfilter.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="10" heading="{{'title.tab.approgram.custprop' | translate}}" ng-show="vm.apProgram.dataStatus && vm.apProgram.prodSubtypeExtProperty.ufpCustprop == 'Y'">
    <ng-form name="apProgramCustpropForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apProgram/included/apProgramCustprop.html'"></div>
    </ng-form>
  </fs-tab>
</fs-tabset>